﻿@model AnalysisApp.Web.Models.MDXDesignerSettingModel

@{
    ViewBag.Title = "MdxDesignerSetting";
}

<h2>MdxDesignerSetting</h2>

@using (Html.BeginForm("CreateMdxDesignerSetting","Home")) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>MDXDesignerSettingModel</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.SubsetCount)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SubsetCount)
            @Html.ValidationMessageFor(model => model.SubsetCount)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.UseVisualTotals)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UseVisualTotals)
            @Html.ValidationMessageFor(model => model.UseVisualTotals)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.GenerateCustomCalculated)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.GenerateCustomCalculated)
            @Html.ValidationMessageFor(model => model.GenerateCustomCalculated)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.HideEmptyColumns)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.HideEmptyColumns)
            @Html.ValidationMessageFor(model => model.HideEmptyColumns)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.HideEmptyRows)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.HideEmptyRows)
            @Html.ValidationMessageFor(model => model.HideEmptyRows)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IncludeAllMembers)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IncludeAllMembers)
            @Html.ValidationMessageFor(model => model.IncludeAllMembers)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.LoadQueryState)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LoadQueryState)
            @Html.ValidationMessageFor(model => model.LoadQueryState)
        </div>

        <p>
            <input type="submit" value="Save options" />
        </p>

    </fieldset>
    
}

<div>
    @Html.ActionLink("Back to configuration", "Configuration")
</div>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
